import service from '@/utils/request';

export const getTerminalVMInfo = (id, data) =>
  service({
    url: `/simulation/res/instance/qemu/${id}/console/`,
    method: 'post',
    data,
  });
export const getTerminalDockerInfo = (id, data) =>
  service({
    url: `/simulation/res/container/docker/${id}/console/`,
    method: 'post',
    data,
  });


export const getTerminalVideoInfo = (id, data) =>
    service({
        url: `/simulation/res/instance/qemu/${id}/transcribe/`,
        method: 'post',
        data,
    });
